package com.lh.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: linghao
 * @since: 2022/5/15
 */
@RestController
@RequestMapping("/nacosDiscovery")
public class NacosDiscoveryDemoController {

    @GetMapping("service")
    public String serivce(){
        System.out.println("nacos provider");
        return "nacos provider";
    }
}
